using Android.App;
using Android.OS;
using Android.Widget;

namespace MuseumsBC.Activities
{
    [Activity(Label = "My Activity")]
    public class SecondActivity : Activity
    {
        protected override void OnCreate(Bundle bundle)
        {

            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Second);

            var label = FindViewById<TextView>(Resource.Id.screen2Label);
            label.Text = Intent.GetStringExtra("FirstData") ?? "Data not available";
        }
    }
}